package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tinyideatech.common.core.entity.BaseEntity;

import lombok.Data;

/**
 * @author zhangy-5
 * @date 2019-08-27
 */
@Data
@TableName("mall_cart")
public class MallCart extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId
    private Long cartId;
    private Long userId;
    private Long goodsId;
    private String goodsName;
    private Integer quantity;
    private String remark;
    private Double price;
    @TableField(exist = false)
    private MallGoods goods;
    @TableLogic
    private String delFlag;

}
